package com.lzy.mall.product.service;


import com.lzy.mall.common.utils.PageUtils;
import com.lzy.mall.product.entity.PmsBrand;
import com.lzy.mall.product.entity.PmsCategoryBrandRelation;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

/**
 * 品牌分类关联(PmsCategoryBrandRelation)表服务接口
 *
 * @author lzy
 * @since 2021-08-25 11:41:13
 */
public interface PmsCategoryBrandRelationService {

    void updateBrand(Long brandId, String name);

    List<PmsCategoryBrandRelation> cateLogList(Long brandId);

    void save(PmsCategoryBrandRelation categoryBrandRelation);

    PmsCategoryBrandRelation getById(Long id);

    PageUtils queryPage(Map<String, Object> params);

    void updateById(PmsCategoryBrandRelation categoryBrandRelation);

    void removeByIds(List<Long> ids);

    void updateCategory(Long catId, String name);

    List<PmsBrand> getBrandsByCatId(Long catId);
}
